package json;
import javax.json.bind.annotation.JsonbProperty;

public class student {
    @JsonbProperty("学号")
    private int id;
    // 姓名
    @JsonbProperty("姓名")
    private String name;

    // 身份
    @JsonbProperty("身份")
    private String identity;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public student(String name, int id, String identity) {
        this.id = id;
        this.identity = identity;
        this.name = name;
    }

    public student() {
    }
}
